Procedure documentationChecking Labels

 

You use the label check to simulate the output of all the data on a label template or on the report body of a label before you print the label. By doing so, you can check in advance whether the data will be output correctly on the label. The label check produces a preview in PDF or RTF format.

To check a label, you just have to select a print request body created for the label check. All of the settings and parameter values required for the label check are defined in this print request body. You do not need to enter further data.

The label check is available in the following transactions:

  • Edit Report Templates (transaction CG42)

  • Edit Reports (Report Management) (transaction CG50)

  • Release Reports (Report Management) (transaction CG56)

  • Report Information System (transaction CG54)

When you call the label check, the system generates a print request internally. When the print request is generated for the label check, a preview of the label as a PDF or RTF is displayed in the respective transaction. The internally generated print request is automatically deleted after the preview has been created.

Note Note

Instead of the label check using a print request body, you can also simulate the output of parameter and specification data on a label template as follows:

  • In report template creation

    • Specify the report template for a label.

    • Under Start of the navigation path Document Next navigation step Start Preview (F8) End of the navigation path, specify the specification and the report generation variant as well as the parameter values for which you want to simulate a label. The label is then displayed as an RTF document.

  • In report management

    • Open an existing label in the report tree.

    • When you choose Start of the navigation path Goto Next navigation step Document End of the navigation path, the label is displayed as an RTF document.

A prerequisite for this check is that all values used exist in Product Safety and Stewardship. Since the values used for Global Label Management also come from other SAP components, we recommend that you use the label check using the print request body to simulate labels.

End of the note.

Prerequisites

In order for the print request bodies required for the label check to be generated, the following prerequisites must be met:

  • The Label Check labeling scenario has been created in Customizing for Global Label Management under Define Print Scenarios.

  • A print station for test printouts that can be accessed by the user has been defined in Customizing for Global Label Management under Specify Print Station for Print Requests.

  • The label stock that is assigned to the label template in the label check by means of the report generation variant matches the dimensions of the label template.

  • A report generation variant, which is assigned a rating and validity areas, exists for the label template and for the label stock.

    The label template to be checked does not necessarily have to be assigned to the report generation variant because the label template that is relevant for the label check is replaced by the label to be checked during label generation (see Label Generation).

  • A specification exists that is assigned a rating and validity areas.

  • A material for the specification exists whose data is to be printed on the label.

Procedure

Prepare Label Check
  1. Create a new print request body based on an existing print request body in the Print Request Body Manager of the labeling workbench using Copy (for Label Check).

    • The Label Check labeling scenario is assigned automatically to the print request body created for the label check.

      The print request bodies based on which the print request for the label check is created do not have to be assigned the Label Check labeling scenario.

    • The key (ID) of the new print request body is displayed in the status line of the labeling workbench. The print request body is also displayed in the search result of the Print Request Body Manager. You can also search for the print request body in the search result.

    • The print request bodies on which the label check is based should meet the desired check result if possible, since all of the data of the print request body is transferred for the label check.

      Recommendation Recommendation

      Use an existing print request body for the material for which the label check is to be carried out.

      End of the recommendation.
  2. Check the following settings in the print request body for the label check:

    • Print Station: Choose a print station that you (or the user) are authorized to access.

    • Printer: Choose a printer for the print station. This value is required while the print request is being processed, even if no printouts are output on this printer.

    • Number of Copies Printed: Do not enter more than the maximum number of labels that can be possibly output on one side of the label stock (number of labels per rows x number of labels per column). Lower values will generate the print requests more quickly. The preview only shows the first page of the label stock (report application LABELSTOCK).

    • Print Request Status: Change the status to Print request body processed without errors (VA). Otherwise, a print request cannot be generated for the label check.

    • Description 01-10 for Print Request: Provide more information about the print request body for the label check.

  3. Edit the values in the print request body created for the label check (under Detail View) on the Header Data, Parameter Symbols, Sequence Numbers, and List of Sequential Data tab pages if required.

    The header data of the print request body on which the print request is based is used for processing. The actual data is determined using the parameter symbols, whose values are also stored in the header data. This means that changing the material number only in the header data of the print request does not affect the data determined. Therefore, you must also adjust the parameter value for the material number under Parameter Symbols. Entries usually already exist in the parameter symbols for the header data.

    Example Example

    Change the material number to P182

    • Header data:

      • Material number: P182

    • Parameter symbols:

      • Parameter object: CCGLS_G01

      • Attribute for parameter object: MATNR

      • Value for report symbol = P182

    End of the example.
Execute Label Check
  1. If you want to execute the label check for a label template, choose Start of the navigation path Document Next navigation step Check Label End of the navigation path in Edit Report Templates.

    • The label template used must be saved before the label check is executed.

    • All data from the assigned report generation variant is used for the label check, with the exception of the label template stored there. The data of the open label template is accessed instead.

    • All print request bodies with the Label Check labeling scenario are displayed. Select a print request body here that you have created for the label check.

  2. If you want to carry out the label check for the report bodies of labels, select one or more report bodies in the Report Management report tree and choose Start of the navigation path Utilities Next navigation step Check Label End of the navigation path.

    • The report generation variant selected in the report tree and the corresponding specification are used for the label check. If the material is displayed in the report tree, this material is also used. All other values are copied from the print request body that was created for the label check.

    • All print requests with the Label Check labeling scenario are displayed. Select a print request here that you have created for the check.

  3. Select the required print request body and confirm.

    Recommendation Recommendation

    You can filter the display of print request bodies with the defined Label Check labeling scenario. To do so, assign a print station that is used exclusively for the label check to the user parameter CCGL_VERPROC_PRNSTN. In this way, only the print request bodies to which this print station is assigned are displayed in the labeling workbench.

    If a print request body created for the label check is not found, a corresponding message is displayed. The long text of this message specifies the search criteria that the system used to search for the print requests for the label check. A common reason for this is an incorrectly assigned print station.

    End of the recommendation.

Result

A new print request is generated in the background. The label is then displayed as a PDF or RTF:

  1. Check the label.

  2. Make any necessary changes to the label template and run the check again.